<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <style>
    body {
      width: 300px;
      padding: 15px;
      margin: 0;
      font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;
      background-color: #fff;
    }

    .up-card {
      background: #fff;
      border-radius: 8px;
      padding: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    .up-header {
      display: flex;
      align-items: center;
      margin-bottom: 12px;
    }

    .up-name {
      color: #18191C;
      font-size: 16px;
      font-weight: 500;
    }

    .up-description {
      color: #61666D;
      font-size: 13px;
      line-height: 1.5;
      margin-top: 8px;
    }

    .tab-container {
      display: flex;
      margin-bottom: 15px;
      border-bottom: 1px solid #e3e5e7;
    }

    .tab {
      padding: 8px 16px;
      cursor: pointer;
      color: #61666D;
      font-size: 14px;
      border-bottom: 2px solid transparent;
    }

    .tab.active {
      color: #FB7299;
      border-bottom-color: #FB7299;
    }

    .up-stats {
      display: flex;
      margin-top: 12px;
      padding-top: 12px;
      border-top: 1px solid #e3e5e7;
    }

    .up-stat-item {
      font-size: 12px;
      color: #9499A0;
    }

    .up-stat-value {
      font-size: 14px;
      color: #18191C;
      font-weight: 500;
      margin-top: 4px;
    }

    .info-label {
      color: #9499A0;
      font-size: 13px;
      margin-right: 8px;
    }
    
    .up-info-row {
      display: flex;
      align-items: baseline;
    }

    .author-info {
      font-size: 12px;
      color: #9499A0;
      text-align: center;
      margin-top: 12px;
      padding-top: 8px;
      border-top: 1px solid #e3e5e7;
    }
  </style>
</head>
<body>
  <div class="tab-container">
    <div class="tab" id="videoTab">视频数据</div>
    <div class="tab active" id="upTab">UP主信息</div>
  </div>
  <div class="up-card">
    <div class="up-header">
      <div class="up-info-row">
        <span class="info-label">UP主：</span>
        <span class="up-name" id="upName"></span>
      </div>
    </div>
    <div class="up-info-row">
      <span class="info-label">简介：</span>
      <div class="up-description" id="upDescription"></div>
    </div>
    <div class="up-stats">
      <div class="up-stat-item">
        <div>粉丝数</div>
        <div class="up-stat-value" id="upFollowers">-</div>
      </div>
    </div>
  </div>
  <div class="author-info">Created by xltian9</div>
  <script src="upinfo.js"></script>
</body>
</html> 